package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * 群聊天信息表
 * @TableName group_chat
 */
@TableName(value ="group_chat")
@Data
@Builder
public class GroupChat implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 群ID
     */
    private Integer groupId;

    /**
     * 聊天记录ID
     */
    private Long chatId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}